FROM java:8
MAINTAINER yfs
ARG JAR_FILE
COPY ${JAR_FILE} /app/yfs-cloud-eureka-server.jar
ENTRYPOINT ["java", "-jar", "/app/yfs-cloud-eureka-server.jar"]